package com.chaos.system.dto;

import com.chaos.system.api.data.RbacMenuData;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RbacMenuRouteDto {


    @ApiModelProperty(value = "图标")
    private String icon;


    @ApiModelProperty(value = "路由路径")
    private String path;


    @ApiModelProperty(value = "路由名称")
    private String name;


    @ApiModelProperty(value = "名称")
    private String cnName;


    @ApiModelProperty(value = "父级id")
    private Long parentId;


    @ApiModelProperty(value = "排序")
    private Integer sort;

    private List<RbacMenuRouteDto> routes;

}
